package com.sanuo.pico.utils;

public class Const {

    public static int currentPage = 0;
    public final static boolean jump = false;
    public final static boolean work = false;
    public static long rented = 0;
    public static long rentLimit = 0;
    public final static String REPORT = "system/app/historyls2";

    public static int[] p1 = new int[4];
    public static boolean isRent = false;
    public static String pwd;
    public static int[] ver = new int[4];

    public static String getVer() {
        return new StringBuilder("V.").append(ver[0]).append(".").append(ver[1]).append(".").append(ver[2]).append(".").append(ver[3]).toString();
    }

    public static boolean isAbove1315() {
        return Const.ver[0] * 1000 + Const.ver[1] * 100 + Const.ver[2] * 10 + Const.ver[3] >= 1315;
    }

    public static boolean is1315() {
        return Const.ver[0] * 1000 + Const.ver[1] * 100 + Const.ver[2] * 10 + Const.ver[3] == 1315;
    }

    public static boolean is1316() {
        return Const.ver[0] * 1000 + Const.ver[1] * 100 + Const.ver[2] * 10 + Const.ver[3] > 1315;
    }
}
